package com.service.admin.product.controller.req;

import com.service.core.rest.request.PageRequest;
import com.service.dao.enums.LanguageEnum;
import com.service.dao.enums.ProductEnums;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * <dl>
 * <dt>back-end</dt>
 * <dd>Description:</dd>
 * <dd>Copyright: Copyright (C) 2015</dd>
 * <dd>Company: </dd>
 * <dd>CreateDate: 2019年10月07日</dd>
 * </dl>
 *
 * @author
 */
@Setter
@Getter
@ToString
public class ProductPageReq extends PageRequest {

    @NotNull(message = "产品状态不能为空")
    private ProductEnums.Status productStatus;

    private String productName;

    private Integer productType;

    @NotNull(message = "产品语言不能为空")
    private LanguageEnum language;

    private Integer category;

}
